On Motion Listener
interface OnMotionListener
The listener interface for receiving notifications when motion is detected by a connected motion sensor (e.g., PIR sensor, camera-based motion detection).
A class interested in processing motion events implements this interface. The object created with that class is then registered with a component responsible for motion detection, typically using an addOnMotionListener
method.
This listener is primarily used to intercept motion detector events, allowing applications to react to physical presence or activity in the vicinity of the RevelDigital player. Common use cases include:
- Waking the display from a sleep or idle state.
- Triggering specific content or interactive experiences.
- Logging activity for analytics or operational purposes.
- Integrating with power-saving functionalities.